Skip to main content

Validators

Validators are used to determine if a feed/chain pair is out of deviation. There are five validators. Only one, signed_data, is used to raise a P1 alert for feed/chain pair deviation. The external validators are used to raise a P5 alert for feed deviation.

  • signed_data (internal)
  • nodary_signed_api (external)
  • redstone_api (external)
  • pyth (external)
  • chainlink (extrernal)

These validators are primarily visualized on the Centurion UI dashboard as colored badges. Their values and timestamps are shown, for each feed/chain pair, in the table under the charts of a feed detail page in the Centurion UI.

The rule for deviation detection for all validators is that the feed/chain pair must be out of deviation for three consecutive minutes and its deviation parameter (0.25, 0.5, 1) plus an additional 5% of the parameter, must be exceeded.

signed_data

This is the actual signed data that Api3 receives from a host of API providers. It is the only validator used to raise a P1 alert to proclaim a feed/chain pair is out of deviation.

nodary_signed_api

An independent project that also has access to Api3 signed_data. Deviation detection for this validator is not considered when a P1 alert is raised.

redstone_api and pyth

Redstone and Pyth oracles that provide a public API with feed value/timestamp data. Deviation detection for these validators is not considered when a P1 alert is raised.

Chainlink prices are retrieved from on-chain values using Ethereum and Polygon chains. Chainlink maintains a contract for each feed.